package video.com.service;


import com.baomidou.mybatisplus.extension.service.IService;
import video.com.entity.UserBehavior;
import video.com.entity.Video;
import video.com.transportEntity.vo.Page;
import video.com.transportEntity.vo.VideoListPage;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xwj
 * @since 2023-11-11
 */
public interface VideoService extends IService<Video> {
    Object uploadVideoInfo(Map<String, Object> info) throws Exception;

    Map<String, Object> getVideoInfo(String uid) throws Exception;

    List<Map<String, Object>> userRecommend(VideoListPage page) throws Exception;

    List<Map<String, Object>> videoRecommend(VideoListPage page) throws Exception;

    void updateVideoInfoWithUserId(Map<String, Object> info) throws Exception;

    void tourist(Map<String, Object> info) throws Exception;

    Map<String, Object> userBehaviorByVid(String vid) throws Exception;

}
